import React from 'react'
// 配置antd 中文
import zhCN from 'antd/lib/locale/zh_CN'
import {ConfigProvider} from 'antd'
import 'antd/dist/antd.css'
import '../styles/globals.scss'
import '../styles/night.scss'
// eslint-disable-next-line react/prop-types
function MyApp ({ Component, pageProps }) {
  return <ConfigProvider locale={zhCN}><Component {...pageProps} /></ConfigProvider> 
}

export default MyApp
